export default {
    url: "/bpm/workflow/getInsList",
    method: "GET",
    name:"流程任务列表",
    req:[
        {
            en: "id",
            cn: "流程ID，不传则查询所有流程下的任务",
            type:"string"
        },
        {
            en: "type",
            cn: "流程类型（必传）：todo 待处理任务，processed 已处理任务，over 已办结任务，observe 关注的任务",
            type:"string"
        },
        {
            en: "startTime",
            cn: "任务开始时间，可不传",
            type:"string"
        },
        {
            en: "endTime",
            cn: "任务结束时间，可不传",
            type:"string"
        },
        {
            en: "mid",
            cn: "流程ID，可不传",
            type:"string"
        },
        {
            en: "currUid",
            cn: "当前经办人，可不传",
            type:"string"
        },
        {
            en: "pubUid",
            cn: "起草人，可不传",
            type:"string"
        },
        {
            en: "page",
            cn: "第几页，可不传，默认为第一页",
            type:"string"
        },
        {
            en: "size",
            cn: "每页记录数，可不传，默认为20",
            type:"string"
        }
    ],
    resp:[
        {
            en: "id",
            cn: "页面展示任务ID",
            type:"string"
        },
        {
            en: "state",
            cn: "任务状态",
            type:"string"
        },
        {
            en: "bpmName",
            cn: "流程模型名",
            type:"string"
        },
        {
            en: "pubUid",
            cn: "任务发起人ID",
            type:"string"
        },
        {
            en: "pubUName",
            cn: "任务发起人",
            type:"string"
        },
        {
            en: "bpmModel",
            cn: "流程模型字段",
            type:"object",
            children: [
                {
                    en: "listFields",
                    cn: "列表表头展示字段",
                    type:"object"
                }
            ]
        },
        {
            en: "createTime",
            cn: "任务创建时间",
            type:"string"
        },
        {
            en: "_id",
            cn: "任务ID",
            type:"string"
        },
        {
            en: "parInsId",
            cn: "父流程ID",
            type:"string"
        },
        {
            en: "deal",
            cn: "是否有处理流程权限",
            type:"boolean"
        },
        {
            en: "edit",
            cn: "是否有编辑流程权限",
            type:"boolean"
        },
        {
            en: "forceEnd",
            cn: "是否有强制结束流程权限",
            type:"boolean"
        },
        {
            en: "forceResume",
            cn: "是否有恢复强制结束流程权限",
            type:"boolean"
        },
        {
            en: "pause",
            cn: "是否有暂停流程权限",
            type:"boolean"
        },
        {
            en: "resume",
            cn: "是否有恢复暂停流程权限",
            type:"boolean"
        },
        {
            en: "urge",
            cn: "是否有催办流程权限",
            type:"boolean"
        },
        {
            en: "del",
            cn: "是否有删除流程权限",
            type:"boolean"
        },
        {
            en: "sync",
            cn: "是否有同步流程权限",
            type:"boolean"
        }
    ],
    respEg: {"success":true,"errMessage":"","data":{"list":[{"id":"3515","state":"流转中","bpmName":"离职申请表","pubUid":"412","pubUName":"黄*雯","bpmModel":{"listFields":["所在部门","离职时间"]},"createTime":"2019-12-25 13:24:53","lastModifyTime":"2019-12-25 13:24:53","_id":"5e02f2a5246964039d3dd0ef","parInsId":null,"附件":null,"申请时间":"2019-12-25 01:24:53","分管领导签名":"","人事部门执行情况":"","所在部门":"XX银行-信息科技部","部门领导签名":"","离职时间":null,"部门领导同意与否":"","部门负责人具体意见":"","分管领导具体意见":"","主管领导同意与否":"","人事部门签名":"","离职理由":null,"分管领导同意与否":"","主管领导具体意见":"","申请人":"黄*雯","主管领导签名":"","deal":false,"edit":false,"forceEnd":false,"forceResume":false,"pause":false,"resume":false,"urge":false,"del":false,"sync":false,"uName":"黄*雯","jieshouDate":"2019-12-25 13:24:53","beforeNode":"申请","countTime":"7天22小时16分钟"},{"id":"3448","state":"流转中","bpmName":"离职申请表","pubUid":"412","pubUName":"黄*雯","bpmModel":{"listFields":["所在部门","离职时间"]},"createTime":"2019-12-19 09:57:11","lastModifyTime":"2019-12-19 09:57:11","_id":"5dfad8f7246964039d3da898","parInsId":null,"附件":null,"申请时间":"2019-12-19 09:57:11","分管领导签名":"","人事部门执行情况":"","所在部门":"XX银行-信息科技部","部门领导签名":"","离职时间":null,"部门领导同意与否":"","部门负责人具体意见":"","分管领导具体意见":"","主管领导同意与否":"","人事部门签名":"","离职理由":null,"分管领导同意与否":"","主管领导具体意见":"","申请人":"黄*雯","主管领导签名":"","deal":false,"edit":false,"forceEnd":false,"forceResume":false,"pause":false,"resume":false,"urge":false,"del":false,"sync":false,"uName":"黄*雯","jieshouDate":"2019-12-19 09:57:11","beforeNode":"申请","countTime":"14天1小时43分钟"},{"id":"3332","state":"流转中","bpmName":"离职申请表","pubUid":"412","pubUName":"黄晓雯","bpmModel":{"listFields":["所在部门","离职时间"]},"createTime":"2019-11-12 20:26:38","lastModifyTime":"2019-11-12 20:54:20","_id":"5dcaa4fe7db8307ea9e41469","parInsId":null,"附件":"[annex][{\"name\":\"unn新模式.docx\",\"hint\":\"\",\"type\":\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"id\":\"/2019-11-12/5c7306bf909142659929cbbdd6d6134c.docx\",\"creator\":\"412\",\"action\":\"upload\"}]","申请时间":"2019-11-12 08:27:19","分管领导签名":"","人事部门执行情况":"","所在部门":"惠州农村商业银行-信息科技部","部门领导签名":"","离职时间":"2019-11-20","部门领导同意与否":"","部门负责人具体意见":"","分管领导具体意见":"","主管领导同意与否":"","人事部门签名":"","离职理由":"测试批注功能","分管领导同意与否":"","主管领导具体意见":"","申请人":"黄晓雯","主管领导签名":"","deal":false,"edit":false,"forceEnd":false,"forceResume":false,"pause":false,"resume":false,"urge":false,"del":false,"sync":false,"uName":"蔡伟军","jieshouDate":"2019-11-12 20:27:27","beforeNode":"部门审批","countTime":"50天15小时14分钟"}],"pageSize":"10","totalPage":"1","pageNumber":"1","orderBy":null,"totalRow":"3","paras":null}}
}